# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: AppleCross <ijiki16@freeuni.edu.ge>
pkgname=device-samsung-logands
pkgdesc="Samsung Galaxy Ace 3 Duos"
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
	linux-samsung-logands
	mkbootimg
	postmarketos-base
	postmarketos-base-downstream
	msm-fb-refresher
"
makedepends="devicepkg-dev"
subpackages="
	$pkgname-nonfree-firmware:nonfree_firmware
"
source="
	deviceinfo
	modules-load.conf
"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

nonfree_firmware() {
	pkgdesc="WiFi firmware"
	depends="firmware-samsung-logands"
	mkdir "$subpkgdir"
}

sha512sums="
15943cbbe9421d663d5a6f6cfe2e4af2135cec675c4ffaeca16b28b0a1b39a6ff3b0059676f862d0474eb8cc6cfa54703d9f36e021b91d1ac7e6210890c48222  deviceinfo
d7ab8040186524169440cb8264757943d47015f1ebfa1decc416d8bda7c2de8cfebef1b714421f86f37e23b6004482d6cb9b7f1ca83da9a73d11e5fd38b105f7  modules-load.conf
"
